﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AwardAdmin.aspx.vb" Inherits="EagleTrackUI.AwardAdmin" %>
<%@ Register Assembly="Infragistics4.WebUI.UltraWebNavigator.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebNavigator" tagprefix="ignav" %>
<%@ Register Assembly="Infragistics4.WebUI.WebHtmlEditor.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebHtmlEditor" tagprefix="ighedit" %>
<%@ Register Assembly="Infragistics4.WebUI.WebDataInput.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebDataInput" tagprefix="igtxt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            width: 315px;
        }
        .style3
        {
            width: 315px;
            height: 27px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="style1">
        <tr>
            <td class="style2">
                Award Requirements Tree</td>
            <td rowspan="4">

                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
                                <table class="style1">
                    <tr>
                        <td>
                            Requirement</td>
                        <td>
                            <asp:TextBox ID="txtReq" runat="server" Height="19px" Width="253px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Description</td>
                        <td>
                            <asp:TextBox ID="txtDesc" runat="server" TextMode="MultiLine" Width="382px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Children Required</td>
                        <td>
                            <igtxt:WebNumericEdit ID="dblChildren" runat="server">
                            </igtxt:WebNumericEdit>
                        </td>
                    </tr>
                </table>
                <asp:Button ID="cmdSave" runat="server" Text="Save Change" />
                </ContentTemplate>
                </asp:UpdatePanel>

            </td>
        </tr>
        <tr>
            <td class="style2">

                <asp:DropDownList ID="cboAwardTree" runat="server" AutoPostBack="True" 
                    Height="18px" Width="264px">
                </asp:DropDownList>
                <asp:Button ID="cmdAddNew" runat="server" Text="Add New" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
   <ignav:UltraWebTree ID="trvReq" runat="server">
                </ignav:UltraWebTree>
                </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="cmdAddChild" EventName="Click" />
                        <asp:AsyncPostBackTrigger ControlID="cboAwardTree" 
                            EventName="SelectedIndexChanged" />
                        <asp:AsyncPostBackTrigger ControlID="cmdSave" EventName="Click" />
                    </Triggers>
                </asp:UpdatePanel>
             
                <br />
            </td>
        </tr>
        <tr>
            <td class="style3">
                <asp:Button ID="cmdAddChild" runat="server" Text="Add Child" />
            </td>
        </tr>
    </table>
</asp:Content>
